package org.zwy.gradetrack.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.zwy.gradetrack.entity.InternshipUnitEvaluation;
import org.zwy.gradetrack.vo.InternshipUnitEvaluationVO;

import java.util.List;

/**
 * 实习单位评价Mapper接口
 */
@Mapper
public interface InternshipUnitEvaluationMapper extends BaseMapper<InternshipUnitEvaluation> {

    List<InternshipUnitEvaluationVO> getInternshipUnitEvaluationsWithDetails(
            Page<InternshipUnitEvaluationVO> page,
            @Param("internshipUnitId") Long internshipUnitId,
            @Param("studentId") Long studentId,
            @Param("indicatorId") Long indicatorId
    );
} 